Experiencing login failures in SANnav Management Portal despite all services running? This video explains how to resolve the common error messages: "Incorrect Username and Password" and "Login failed. Service is not available at this time." You'll learn how hostname mismatches in the /etc/hosts file can block access, how to verify and correct the hostname using hostnamectl, and how to restart SANnav services properly. Ideal for SAN administrators and IT teams working with Brocade environments.
Hi everyone! In this video let us learn how to troubleshoot the issue Incorrect Username and Password when attempting to login to SANnav Management Portal with local or remote user even if all the SANnav services are up and running. You may also see an error "Login failed. Service is not available at this time." on this page.
You can verify the status of SANnav services by logging in as root user to SANnav server console. You can see that all SANnav services are up and running. SANnav uses the hostname that is defined in the "/etc/hosts" file for the hostname resolution during installation and validates the same hostname while logging in to SANnav from the browser.
If this mapping is incorrect, then the user cannot login to SANnav server. Now let us check the /etc/hosts file. It has to be in the format: IP address with the space and the hostname. Now run the command "hostnamectl" to confirm the hostname and compare it with the hostname in the "/etc/hosts" file.
You need to maintain the same hostname here, but you can see there is some mismatch. If there is a mismatch, you need to rectify it by following these steps. Login to SANnav Server Console with root user. Run the command "hostnamectl set-hostname" and specify the host name matching with "/etc/hosts" file. hostnamectl set-hostname, specify the same hostname. Now restart the SANnav Services by using the "restart-sannav.sh" script from install home bin folder.
Once all the services are up, run the "hostnamectl" command to confirm the hostname is updated. You can see the new hostname updated here. You can now verify the login to SANnav Management Portal. You can see that you are able to log in to the SANnav Management Console successfully.
Thank you for watching.